package bean;

import javax.tools.Tool;
import java.awt.*;

/**
 * 常量类
 */
public  class Constant {


    public static int SCREEN_WIDETH;  //屏幕宽
    public static int SCREEN_HEIGHT;  //屏幕高
    public static String STATUS_CHECK="待审批";
    public static String STATUS_Ok="通过";
    public static final String INDEX_URL="url/index_url.txt";   //存放 AthleteView 中首页页面的 url路径

    static {
       //获取屏幕的宽高
        Toolkit defaultToolkit = Toolkit.getDefaultToolkit();
        Dimension screenSize = defaultToolkit.getScreenSize();
        SCREEN_HEIGHT= (int) screenSize.getHeight();
        SCREEN_WIDETH= (int) screenSize.getWidth();
    }

    public static void main(String[] args) {
        //System.out.println(SCREEN_HEIGHT);
//        Toolkit defaultToolkit = Toolkit.getDefaultToolkit();
//        Dimension screenSize = defaultToolkit.getScreenSize();
//        double width = screenSize.getWidth();
//        double height = screenSize.getHeight();


    }



}
